package com.memory.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.memory.common.R;
import com.memory.daomain.Category;
import com.memory.daomain.Setmeal;
import com.memory.dto.SetmealDto;

import java.util.List;

public interface SetMealService extends IService<Setmeal> {
    public Boolean saveSetmealWithDish(SetmealDto setmealDto);

    public Boolean deleteSetmealWithDish(Long ids);

    public SetmealDto getById(Long id);

    public Boolean updateSetmealWithDish(SetmealDto setmealDto);

    public Page<SetmealDto> getPage(Integer page, Integer pageSize, Setmeal setmeal);

    public List<Setmeal> list(Setmeal setmeal);
}
